package com.wanxi.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDTO {
    @ApiModelProperty(value = "用户id",required = true)
    private Long id;
    @ApiModelProperty(value = "手机号",required = true)
    private String phoneNumber;
    @ApiModelProperty(value = "用户名",required = true)
    private String nickname;
    @ApiModelProperty(value = "头像",required = true)
    private String headPortrait;
    @ApiModelProperty(value = "性别",required = true)
    private int sex;
    @ApiModelProperty(value = "邮箱",required = true)
    private String email;
    @ApiModelProperty(value = "生日",required = true)
    private Date birthday;
    @ApiModelProperty(value = "地址",required = true)
    private String address;
    @ApiModelProperty(value = "职业",required = true)
    private String occupation;
}
